package com.xxgc.eow.mapper;

import com.xxgc.eow.entity.Postask;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 职位要求表 Mapper 接口
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-23
 */
@Mapper
public interface PostaskMapper extends BaseMapper<Postask> {
    int insert(Postask row);

    int delectPostAsk(Postask postask);

    int updatPostAsk(@Param("postask") Postask postask, @Param("oldAskId") int oldAskId);
    List<Postask> selectAll();

    List<Postask> selectBypostId(int postId);
}
